package com.ruoyi.common.constant;

/**
 * 缓存的key 常量
 *
 * @author ruoyi
 */
public interface CacheConstants {

    /**
     * 在线用户 redis key
     */
    String ONLINE_TOKEN_KEY = "online_tokens:";

    /**
     * 验证码 redis key
     */
    String CAPTCHA_CODE_KEY = "captcha_codes:";


    String REST_SIGN_KEY = "rest_sign";

    /**
     * 参数管理 cache key
     */
    String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     * 下架地市缓存
     */
    String REGION_KEY = "region:chird:";

    /**
     * 地市缓存
     */
    String REGION_INFO_KEY = "region:info:";

    /**
     * 客户备注
     */
    //String CUSTOMER_BZ_KEY = "customer:bz:";

    /**
     * 客户退单原因
     */
    String CUSTOMER_RETURN_REASON_KEY = "customer:reason:";
}
